import { createSSRApp } from 'vue'
import App from './App.vue'
import store from './store'
import uView from 'uview-ui'

export function createApp() {
  const app = createSSRApp(App)
  
  // 使用pinia状态管理
  app.use(store)
  
  // 使用uView UI组件库
  app.use(uView)
  
  return {
    app
  }
} 